package com.youlai.boot.system.model.QB;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import org.locationtech.jts.geom.Point;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Plot {
    private  Integer id;
    @NotBlank(message="name不能为空格")
    private  String name;
    @NotBlank(message="type不能为空格")
    private  String type;

    private String coordinates;
    @NotBlank(message="area不能为空格")
    private String area;
    @NotBlank(message="plotnumber不能为空格")
    private  String plotnumber;
    private Integer status;
    private String picUrl;//图片地址

    @TableField(exist=false)
    private List<String> picUrls;
    private String fileName;//文件名称
    private String fileUrl;//文件地址
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}


